//
//  JZDynamicTableViewCell.h
//  QuanZiChat
//
//  Created by 张洪林 on 15/11/28.
//  Copyright © 2015年 ZhongHongLin. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "JZAlbum.h"
@protocol JZDynamicTableViewCellDelegate <NSObject>

@optional

-(void)didCommentButtonClick:(UIButton*)button indexPath:(NSIndexPath*)indexPath;

-(void)didSelectCommentAtCellIndexPath:(NSIndexPath*)cellIndexPath commentIndexPath:(NSIndexPath*)commentIndexPath;

@end
@interface JZDynamicTableViewCell : UITableViewCell
@property (nonatomic,strong) JZAlbum* currentAlbum;

@property (nonatomic,strong) NSIndexPath* indexPath;

@property (nonatomic,strong) id<JZDynamicTableViewCellDelegate> dynamicTableViewCellDelegate;

+(CGFloat)calculateCellHeightWithAlbum:(JZAlbum*)album;
@end
